package de.cbf.cam.dsa.dataprovider.weapons;

import java.util.ArrayList;
import java.util.List;

import de.cbf.cam.dsa.model.entities.WeaponStyle;
import de.cbf.cam.dsa.model.entities.constants.WeaponSpecialConstants;
import de.cbf.cam.dsa.model.entities.constants.WeaponStyleTemplates;
import de.cbf.cam.dsa.model.entities.weapon.WeaponMelee;

public class ProviderTwoHandBatons {
	
	private static ProviderTwoHandBatons instance = new ProviderTwoHandBatons();
	
	public static ProviderTwoHandBatons getInstance(){
		return instance;
	}
	
	public List<WeaponMelee> provideTwoHandBatons(){
		List<WeaponMelee> resultList = new ArrayList<WeaponMelee>();
		resultList.add(provideEchsischeAxt());	
			
		return resultList;
	}
	
	private WeaponMelee provideEchsischeAxt(){
		WeaponMelee weapon =new WeaponMelee();
		weapon.setWeaponType("EchsischeAxt");		
		weapon.setTpDiceNumber(1);
		weapon.setTpDiceSides(6);
		weapon.setTpBonus(5);		
		weapon.setKKTreshold(12);
		weapon.setKKStep(4);		
		weapon.setWeight(90);
		weapon.setWeapLength(150);		
		weapon.setBf(3);		
		weapon.setIniMod(0);		
		weapon.setPrice(-1);		
		weapon.setWmAT(0);
		weapon.setWmPA(-1);		
		weapon.setSpecialStates(WeaponSpecialConstants.STATE_twoHand);
		weapon.setDkBits(WeaponMelee.DKN|WeaponMelee.DKS);
		weapon.setWear("");
		//weapon styles
		WeaponStyle style = WeaponStyleTemplates.provideStaebe();
		style.setName("EchsischeAxt");
		
		weapon.addStyle(style);
		return weapon;		
	}
}
